package QL;

import java.util.List;
import java.util.ArrayList;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

public class ButlerPrizePoolWaterLineStat implements IQLResponse
{
    /// <summary>
    /// 当天抽放水总和
    /// </summary>
    public long TotalValue;

    /// <summary>
    /// 当天抽放水总次数
    /// </summary>
    public long TotalCount;

    /// <summary>
    /// 统计所对应的时间
    /// </summary>
    public String StatTime;

    @Override
    public void DeserializeFromJson(JSONObject jsonObj)
    {
        JSONObject t = jsonObj;
        if (t.has("total_value"))
            TotalValue = t.getLong("total_value");
        if (t.has("total_count"))
            TotalCount = t.getLong("total_count");
        if (t.has("stat_time"))
            StatTime = t.getString("stat_time");
    }
}
